package cn.ddiancan.xddcloud.psc.audit.feign;

import cn.ddiancan.xddcloud.psc.audit.domain.AuditLogVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "AuditRemoteService", value = AuditRemoteService.targetService)
public interface AuditRemoteService {

    String targetService = "xddcloud-psc";

    @PostMapping("/psc/log/add")
    void addLog(@RequestBody AuditLogVO auditLogVO);
}
